#include "ScaleInterpolatorAffectorFactory.h"
#include "ScaleInterpolatorAffector.h"

namespace Destiny
{
	CScaleInterpolatorAffectorFactory* CScaleInterpolatorAffectorFactory::mSelf = NULL ;

	CScaleInterpolatorAffectorFactory::CScaleInterpolatorAffectorFactory(void)
	{
	}


	CScaleInterpolatorAffectorFactory::~CScaleInterpolatorAffectorFactory(void)
	{
	}

	Ogre::ParticleAffector* CScaleInterpolatorAffectorFactory::createAffector(Ogre::ParticleSystem* psys)
	{
		Ogre::ParticleAffector* pAffector = OGRE_NEW CScaleInterpolatorAffector(psys) ;

		mAffectors.push_back( pAffector ) ;

		return pAffector ;
	}
}